package com.steamedfish.auctioncloudadserver.service;

import com.steamedfish.auctioncloudadserver.entiry.AdMailEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.steamedfish.auctioncloudadserver.model.AuctionItemModel;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 高山福
 * @since 2021-04-02
 */
public interface AdMailService extends IService<AdMailEntity> {

    public void sendMailInterval();

    public void sendMailForNote();

    public List<String> getMailAddress();

    public String getAlertContext(AuctionItemModel auctionItemModel);

    public void sendMail(List<String> mails, String subjext, String context);

}
